﻿DBSystem.main = (function () {
    var app;

    //inicializar kendo mobile
    function initApp() {
        app = new kendo.mobile.Application(document.body, {
            transition: 'slide'
        });
    }

    //devolver el app de kendo para futuros usos
    function getApplication() {
        return app;
    }

    return {
        initApp: initApp,
        getApplication: getApplication
    };

})(window)